class Animal{
	constructor(){
		this.type = 'Animal'
	}
	says(){
		console.log(this.type+"说了一句 helloClass!")
	}
}
class Cat extends Animal{
	constructor(){
		super()
		this.type = "cat"
	}
}

var c = new Cat()
c.says()
